
$(function(){
	$("#clear").click(function(){
		localStorage.clear();
	})
	var winPrize=[],prize,normalNumber=[0];
	var arrs=[],n,index;
	var timer1,timer2,timer3;
	if(!localStorage.pond){
		for(var i=1;i<=130;i++){
			arrs.push(i);
			if(i==130){
				for(var i=150;i<=439;i++){
					arrs.push(i);
					if(i == 439){
						for(var i=512;i<=649;i++){
							arrs.push(i);
						}
					}
				}
			}
		}
		localStorage.pond = JSON.stringify(arrs);
	}
	prize=JSON.parse(localStorage.pond);
	n=prize.length-1;
	if(!localStorage.winPrize){
		localStorage.winPrize=JSON.stringify(winPrize);
	}
	if(!localStorage.grand){
		localStorage.grand=false;
	}
	if(!localStorage.first){
		localStorage.first="false";
	}
	if(!localStorage.normalNumber){
		localStorage.firstNumber=JSON.stringify(normalNumber);
	}
	if(!localStorage.second){
		localStorage.second=false;
	}
	if(!localStorage.third){
		localStorage.third=false;
	}
	if(!localStorage.normal){
		localStorage.normal=false;
	}
	if(!localStorage.add){
		localStorage.add=false;
	}
	function isCon(arr,val){
		for(var i=0; i<arr.length; i++){
			if(arr[i] == val)
			return true;
			}
			return false;
	}

})